package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.CurrentcrossborderalarmDao;
import io.renren.entity.Currentcrossborderalarm;
import io.renren.service.CurrentcrossborderalarmService;



@Service("currentcrossborderalarmService")
public class CurrentcrossborderalarmServiceImpl implements CurrentcrossborderalarmService {
	@Autowired
	private CurrentcrossborderalarmDao currentcrossborderalarmDao;
	
	@Override
	public Currentcrossborderalarm queryObject(Integer id){
		return currentcrossborderalarmDao.queryObject(id);
	}
	
	@Override
	public List<Currentcrossborderalarm> queryList(Map<String, Object> map){
		return currentcrossborderalarmDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return currentcrossborderalarmDao.queryTotal(map);
	}
	
	@Override
	public void save(Currentcrossborderalarm currentcrossborderalarm){
		currentcrossborderalarmDao.save(currentcrossborderalarm);
	}
	
	@Override
	public void update(Currentcrossborderalarm currentcrossborderalarm){
		currentcrossborderalarmDao.update(currentcrossborderalarm);
	}
	
	@Override
	public void delete(Integer id){
		currentcrossborderalarmDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		currentcrossborderalarmDao.deleteBatch(ids);
	}
	
}
